package com.example.mq.common;

/**
 * 这个对象表示一个响应，也是根据自定义应用层协议来的
 */
public class Response {

    private int type;

    private int length;

    private byte[] playload;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public byte[] getPlayload() {
        return playload;
    }

    public void setPlayload(byte[] playload) {
        this.playload = playload;
    }
}
